<template>
  <section class="find-wrap">
    <div class="find-tab">
      <ul class="find-tab-title">
        <li><nuxt-link :to="'/find/1'" :class="this.$store.state.findRouteParam == 'findindex' ? 'tab-active' :'' "  active-class="tab-active">俱乐部</nuxt-link></li>
        <li><nuxt-link :to="'/find/2'" active-class="tab-active">达人榜</nuxt-link></li>
      </ul>
      <div class="find-tab-content">
        <nuxt-child></nuxt-child>
      </div>
    </div>
  </section>
</template>

<script>
  import NuxtLink from '../../.nuxt/components/nuxt-link'
  import NuxtChild from '../../.nuxt/components/nuxt-child'
  export default {
    components: {
      NuxtChild,
      NuxtLink},
    layout: 'find',
    data () {
      return {
      }
    },
    mounted () {
    },
    methods: {
    }
  }
</script>
<style>
  .tab-active{
    color: #13BA31;
    border-bottom: 2px solid #13BA31;
  }
  .find-tab-title{
    width: 100%;
    margin-top: 5px;
    border-bottom: 2px solid #ececec;
  }
  .find-tab-title>li{
    width: 15%;
    text-align: center;
    display: inline-block;
    font-size: 1.3em;
    font-weight: 700;
    cursor: pointer;
    height: 40px;
    line-height: 40px;
  }
</style>
